<%@ page import="deepbitview.ActiviationKeyHandler" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="layout" content="main"/>

</head>

<body>

<script type="text/JavaScript">

    $(function() {

        $('.sidebar-bgtop').corner().dropShadow();
        $('.post-bgtop').corner().dropShadow();


    });

</script>

<div id="wrapper">

    <div>
        <div id="page">
            <div id="page-bgtop">
                <div id="content">
                    <div class="post">
                        <div class="post-bgtop shadow">
                            <div class="post-bgbtm">
                                <h2 class="title">Welcome</h2>

                                <div class="entry">
                                    <p>
                                        Welcome to your DeepBit statistics overview. Here you can look at your recently collected statistics and use the data for further statistics.
                                    </p>

                                    <p>
                                        The data are pulled all ${ActiviationKeyHandler.getSampleRateInMinutes()} minutes, if this application was running and the sources are <a
                                            href="http://bitcoincharts.com" target="_blank">bitcoincharts</a> and <a
                                            href="https://deepbit.net/" target="_blank">deepbit</a>
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div id="side">
                <div class="sidebar">
                    <div class="sidebar-bgtop shadow">
                        <div class="sidebar-bgbtm">
                            <ul>
                                <li>
                                    <h2>deepbit statistics
                                    Settings</h2>

                                    <ul>
                                        <li>
                                            please set how many days worth of data you would like to view <g:select
                                                    from="${1..365}" id="days_selector" name="days_selector"/>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>

                <div class="sidebar">
                    <div class="sidebar-bgtop shadow">
                        <div class="sidebar-bgbtm">
                            <ul>
                                <li>
                                    <h2>deepbit worker statistics</h2>
                                    <ul>
                                        <li><deepbit:renderCheckbox days="7" id="worker_stale_share_ratio"
                                                                    title="Share/Stale Ratio"
                                                                    controller="graph"
                                                                    action="ajaxShowWorkerStaleShareRatio"/>

                                        </li>

                                        <li>
                                            <deepbit:renderCheckbox days="7" id="hash_speed_over_time"
                                                                    title="Hash Speed"
                                                                    controller="graph"
                                                                    action="ajaxShowPerformanceGraph"/>
                                        </li>


                                        <li>
                                            <deepbit:renderCheckbox days="7" id="coins_over_Sample_rate"
                                                                    title="Generated Coins for Sample"
                                                                    controller="graph"
                                                                    action="ajaxShowCoinsPerSampleGraph"/>
                                        </li>

                                    </ul>
                                </li>
                                <li>
                                    <h2>deepbit account statistics</h2>
                                    <ul>
                                        <li><deepbit:renderCheckbox days="7" id="account_ammount"
                                                                    title="BitCoins in Account"
                                                                    controller="graph"
                                                                    action="ajaxShowAccountGraph"/>

                                        </li>

                                        <li><deepbit:renderCheckbox days="7" id="account_ammount_USD"
                                                                    title="USD in Account"

                                                                    controller="graph"
                                                                    action="ajaxShowAccountUSDGraph"/>

                                        </li>

                                        <li>
                                            <deepbit:renderCheckbox days="7" id="usd_over_Sample_rate"
                                                                    title="Generated USD for Sample"
                                                                    controller="graph"
                                                                    action="ajaxShowDollarPerSampleGraph"/>
                                        </li>

                                    </ul>
                                </li>
                                <li>
                                    <h2>global statistics</h2>
                                    <ul>
                                        <li>
                                            <deepbit:renderCheckbox days="7" id="global_network_speed"
                                                                    title="global network speed"
                                                                    controller="graph"
                                                                    action="ajaxShowNetworkSpeed"/>
                                        </li>

                                        <li>
                                            <deepbit:renderCheckbox days="7" id="exchange_rate_statistic"
                                                                    title="exchange rate statistics"
                                                                    controller="graph"
                                                                    action="ajaxShowExchangeRate"/>
                                        </li>

                                        <li>
                                            <deepbit:renderCheckbox days="7" id="global_known_blocks"
                                                                    title="globally known blocks"
                                                                    controller="graph"
                                                                    action="ajaxShowBlocks"/>
                                        </li>
                                    </ul>
                                </li>

                            </ul>
                        </div>
                    </div>
                </div>

            </div>

            <div style="clear: both; height: 1px"></div>

        </div>
    </div>
</div>
</body>
</html>
